strptime python decimal seconds

55

strptime python decimal seconds -

>>> from datetime import datetime
>>> a = datetime.strptime('26/01/12 23:50:32.123', '%d/%m/%y %H:%M:%S.%f')
>>> a.microsecond

Comments

Submit
0 Comments